package com.cxyzy.demo;

import android.Manifest;
import android.os.Bundle;

public class MainActivity extends BaseActivity {

    private int REQUEST_CAMERA_PERMISSION = 1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        checkAndRequestPermissionIfNeeded(Manifest.permission.CAMERA, REQUEST_CAMERA_PERMISSION);
    }

}
